<?php
class HelloworldController extends SugarController
{
    public function action_listview()
    {               
        
         $this->view = 'list';
    $this->view_object_map['message'] = 'Hello World at ' . date('Y-m-d H:i:s',time());
    }
    
     public function action_goodbye()
    {
        $this->view = 'list';
        $this->view_object_map['message'] = 'Goodbye World!';               
    } 
} 